import { memo } from 'react';
import type { ReactNode, FC } from 'react';
import { ForgetPasswordWrapper } from './style';
interface IProps {
  children?: ReactNode;
  setStatus: (val: string) => void;
}

const ForgetPassword: FC<IProps> = (props) => {
  const { setStatus } = props;
  return (
    <ForgetPasswordWrapper>
      <div className="content">请前往手机端最新版【网易云音乐 App】进行操作</div>
      <div className="back-login">
        <a
          href="javascript:void(0)"
          onClick={() => {
            setStatus('another');
          }}
        >
          {'<  返回登录'}
        </a>
      </div>
    </ForgetPasswordWrapper>
  );
};

export default memo(ForgetPassword);
